home *** CD-ROM | disk | FTP | other *** search
- //***************************************************************************
- //
- // this file is (c) '94-'96 Niklas Beisert
- //
- // this file is part of the cubic player development kit.
- // you may only use/modify/spread this file under the terms stated
- // in the cubic player development kit accompanying documentation.
- //
- //***************************************************************************
-
- #ifndef __PSETTING_H
- #define __PSETTING_H
-
- void cfGetConfig(const char *cppath, const char *cmdline);
- void cfCloseConfig();
- int cfCountSpaceList(const char *str, int maxlen);
- int cfGetSpaceListEntry(char *buf, const char *&str, int maxlen);
- const char *cfGetProfileString(const char *app, const char *key, const char *def);
- const char *cfGetProfileString2(const char *app, const char *app2, const char *key, const char *def);
- int cfGetProfileBool(const char *app, const char *key, int def, int err);
- int cfGetProfileBool2(const char *app, const char *app2, const char *key, int def, int err);
- int cfGetProfileInt(const char *app, const char *key, int def, int radix);
- int cfGetProfileInt2(const char *app, const char *app2, const char *key, int def, int radix);
-
- extern const char *cfConfigSec;
- extern const char *cfSoundSec;
- extern const char *cfScreenSec;
- extern const char *cfCommandLine;
-
- extern char cfConfigDir[];
- extern char cfDataDir[];
- extern char cfTempDir[];
-
- #endif
-